{{--name field--}}
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}">
    {!! Form::label('name', '姓名', ['class' => 'col-sm-2 control-label']) !!}
    <div class="col-sm-10">
        {!! Form::text('name',null,['class' => 'form-control']) !!}
        {!! $errors->first('name', '<span class="help-block">:message</span>') !!}
    </div>
</div>

{{--email field--}}
<div class="form-group {{ $errors->has('email') ? 'has-error' : '' }}">
    {!! Form::label('email', '邮箱', ['class' => 'col-sm-2 control-label']) !!}
    <div class="col-sm-10">
        {!! Form::email('email',null,['class' => 'form-control']) !!}
        {!! $errors->first('email', '<span class="help-block">:message</span>') !!}
    </div>
</div>

{{--password field--}}
<div class="form-group {{ $errors->has('password') ? 'has-error' : '' }}">
    {!! Form::label('password', '密码', ['class' => 'col-sm-2 control-label']) !!}
    <div class="col-sm-10">
        {!! Form::password('password',['class' => 'form-control']) !!}
        {!! $errors->first('password', '<span class="help-block">:message</span>') !!}
    </div>
</div>

<div class="form-group">
    <div class="col-sm-4 col-sm-offset-2">
        <button class="btn btn-primary" type="submit">保存</button>
    </div>
</div>